package com.yanqu.road.entity.goods;

import com.yanqu.road.entity.DataObject;

import java.util.ArrayList;
import java.util.List;

/**
 * 商城随机商品
 */
public class MallRandomGoods extends DataObject {

    private int shopType;

    private long lastUpdateTime;

    List<Integer> mallIdList = new ArrayList<>();


    public int getShopType() {
        return shopType;
    }

    public void setShopType(int shopType) {
        if (this.shopType != shopType) {
            this.shopType = shopType;
            this.setUpdateOption();
        }
    }

    public long getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(long lastUpdateTime) {
        if (this.lastUpdateTime != lastUpdateTime) {
            this.lastUpdateTime = lastUpdateTime;
            this.setUpdateOption();
        }
    }

    public List<Integer> getMallIdList() {
        return mallIdList;
    }

    public void setMallIdList(List<Integer> mallIdList) {
        if (mallIdList == null) {
            return;
        }
        this.mallIdList = mallIdList;
        setUpdateOption();
    }
}
